package com.rt.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rt.common.annotation.Excel;

import java.util.Date;

/**
 * 试题选项对象 rt_options_info
 * 
 * @author Yg
 * @date 2022-04-13
 */
public class RtOptionsInfo
{
    /** 主键 */
    private Long id;

    /** 试题id，关联到kk_questions_info表主键 */
    @Excel(name = "试题id，关联到kk_questions_info表主键")
    private String questionId;

    /** 是否答案 0:否; 1:是 */
    @Excel(name = "是否答案 0:否; 1:是")
    private Integer isAnswer;

    /** 智能类型，0：普通题型，非智能型试题；1：题干无参数，选项单参数，选项数量固定；2：题干无参数，选项无参数，选项多预备项；3：题干单参数，选项无参数，选项多预备项；4：题干单参数，选项无参数，选项数量固定；5：题干单参数，判断题；6：题干多参数，案例答案有参数 */
    @Excel(name = "智能类型，0：普通题型，非智能型试题；1：题干无参数，选项单参数，选项数量固定；2：题干无参数，选项无参数，选项多预备项；3：题干单参数，选项无参数，选项多预备项；4：题干单参数，选项无参数，选项数量固定；5：题干单参数，判断题；6：题干多参数，案例答案有参数")
    private String smartType;

    /** 正确答案的题干参数id，关联到题干参数表主键 */
    @Excel(name = "正确答案的题干参数id，关联到题干参数表主键")
    private Long questionParamId;

    /** 创建人 */
    private String createOperator;

    /**修改人*/
    private String updateOperator;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 试题描述 */
    private String remark;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionId(String questionId) 
    {
        this.questionId = questionId;
    }

    public String getQuestionId() 
    {
        return questionId;
    }
    public void setIsAnswer(Integer isAnswer) 
    {
        this.isAnswer = isAnswer;
    }

    public Integer getIsAnswer() 
    {
        return isAnswer;
    }
    public void setSmartType(String smartType) 
    {
        this.smartType = smartType;
    }

    public String getSmartType() 
    {
        return smartType;
    }
    public void setQuestionParamId(Long questionParamId) 
    {
        this.questionParamId = questionParamId;
    }

    public Long getQuestionParamId() 
    {
        return questionParamId;
    }
    public void setCreateOperator(String createOperator) 
    {
        this.createOperator = createOperator;
    }

    public String getCreateOperator() 
    {
        return createOperator;
    }
    public void setUpdateOperator(String updateOperator) 
    {
        this.updateOperator = updateOperator;
    }

    public String getUpdateOperator() 
    {
        return updateOperator;
    }

    @Override
    public String toString() {
        return "RtOptionsInfo{" +
                "id=" + id +
                ", isAnswer=" + isAnswer +
                ", remark='" + remark + '\'' +
                '}';
    }
}
